//
// Created by Japhy on 2017-8-31.
//

#ifndef PCSC_CCID_H
#define PCSC_CCID_H

#ifdef __cplusplus
extern "C" {
#endif

#include <stdint.h>

int ccid_connect(uint8_t *atr, uint32_t *alen);

int ccid_exchange(uint8_t *capdu, uint32_t clen, uint8_t *rapdu, uint32_t *rlen);

int ccid_disconnect(void);

int ccid_slot_status(void);

#ifdef __cplusplus
}
#endif

#endif //PCSC_CCID_H
